//
//  ResultScene.cpp
//  BattleRecipes
//
//  Created by Truong Hoang Son on 3/20/14.
//
//

#include "ResultScene.h"
#include "SimpleAudioEngine.h"
#include "Header.h"
using namespace cocos2d;
using namespace CocosDenshion;

CCScene* ResultScene::scene()
{
    // 'scene' is an autorelease object
    CCScene *scene = CCScene::create();
    
    // 'layer' is an autorelease object
    ResultScene *layer = ResultScene::create();
    
    // add layer as a child to scene
    scene->addChild(layer);
    
    // return the scene
    return scene;
}

// on "init" you need to initialize your instance
bool ResultScene::init()
{
    //////////////////////////////
    // 1. super init first
    if ( !CCLayer::init() )
    {
        return false;
    }
    return true;
}